<?php

class Db_Tables_MpLogs
{
    function AddLog($user_id, $content,$tips)
    {
		$maozhua_wb = Zend_Registry::get('maozhua_wb');
		$set=array(
			'user_id' => $user_id,
			'ctime' => date('Y-m-d H:i:s'),
			'content' => $content,
			'tips' => $tips
		);
		$maozhua_wb->insert("mp_logs",$set);
    }
}